package com.hjc.service;

import com.hjc.entity.Result;
import com.hjc.entity.User;
import com.hjc.page.Page;

import java.util.List;

public interface UserService {
    public User queryUserByCode(String userCode);

    public Page queryUserByPage(Page page, User user);

    public Result saveUser(User user);

    public Result setUserState(User user);

    public Result queryRoleByUserId(Integer userId);

    public Result removeUserByUserId(List<Integer> userIdList);

    public Result setUserNameByUserId(User user);

    public Result setPwdByUserId(Integer userId);
}
